extern unsigned int sleep_time;